/**********************************
 * @Author: Qi Hang
 * @LastEditor: Qi Hang
 * @LastEditTime: 20:23:59, 星期日 18, 五月 2025
 * @Email: wqwzxwzx@gmail.com
 * Copyright © 2023 Qi Hang | https://hanghang.xyz
 **********************************/

import { createPageLoadingGuard } from "./page-loading-guard";
import { createPageTitleGuard } from "./page-title-guard";
import { createPermissionGuard } from "./permission-guard";
import { createTabGuard } from "./tab-guard";

export function setupRouterGuards(router) {
  createPageLoadingGuard(router);
  createPermissionGuard(router);
  createPageTitleGuard(router);
  createTabGuard(router);
}
